//loop循环
fn main() {
    let mut x = 2;
    loop {
        x += x - 1;
        println!("x={}", x);
        if x > 10 {
            break;
        }
    }
}
